<?php
include ("../includes/config_conexao.php");

$resposta = mysql_query( "select * from status_atendimento" );
while ( $linha = mysql_fetch_array( $resposta )) {
	$select = $idStatusAtendimento == $linha["ID_STATUS"] ? "selected" : "";
	echo "<option value=\"". $linha["ID_STATUS"] . "\" $select>" . $linha["DESC_STATUS"] . "</option>";
}
?>